package com.eyedsion.his.web.entity.businessdata;

import com.eyedsion.his.web.entity.common.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author 彭长云
 * @Description:
 * @date 2018/12/14 16:59
 */
@Entity
@Table(name = "odoc_diagnosis_info")
public class OdocDiagnosisInfo extends BaseEntity{
    @Id
    private String code;//诊断PK [CODE, VARCHAR2, 32]
    private String registerCode;//挂号序号 [REGISTER_CODE, VARCHAR2, 32]
    private String illnessAddress;//发病地点 [ILLNESS_ADDRESS, VARCHAR2, 2]
    private Date morbidityDate;//发病时间 [MORBIDITY_DATE, DATE, 7]
    private Date diagnoseDate;//诊断时间 [DIAGNOSE_DATE, DATE, 7]
    private String isConfirm;//是否确诊; 1-是 2-否 [IS_CONFIRM, VARCHAR2, 1]
    private String diagnosisBasis;//诊断依据; 1临床2影像3病例4检查5手术6其他 [DIAGNOSIS_BASIS, VARCHAR2, 1]
    private String isContagion;//是否传染病; 1是2否 [IS_CONTAGION, VARCHAR2, 1]
    private Date contagionReportDate;//传染病上报时间 [CONTAGION_REPORT_DATE, DATE, 7]
    private String isTumour;//是否肿瘤; 1-是 2-否 [IS_TUMOUR, VARCHAR2, 1]
    private String tumourPresentation;//肿瘤报告 [TUMOUR_PRESENTATION, VARCHAR2, 256]
    private String handlingExplain;//处理措施或描述 [HANDLING_EXPLAIN, VARCHAR2, 256]
    private String tentadiagResult;//诊断结果; 1治疗后回家2留院观察3住院4转院5死亡6其他 [TENTADIAG_RESULT, VARCHAR2, 1]
    private String lapseTo;//转归; 1治愈2好转3未愈4死亡5其他 [LAPSE_TO, VARCHAR2, 1]
    private String remark;//备注 [REMARK, VARCHAR2, 512]
    private String diagDepartCode;//诊断科室 [DIAG_DEPART_CODE, VARCHAR2, 32]
    private String createUser;//创建人;诊断医生 [CREATE_USER, VARCHAR2, 32]
    private Date createTime;//创建时间;诊断时间 [CREATE_TIME, DATE, 7]
    private Date updateTime;//更新时间 [UPDATE_TIME, DATE, 7]

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getRegisterCode() {
        return registerCode;
    }

    public void setRegisterCode(String registerCode) {
        this.registerCode = registerCode;
    }

    public String getIllnessAddress() {
        return illnessAddress;
    }

    public void setIllnessAddress(String illnessAddress) {
        this.illnessAddress = illnessAddress;
    }

    public Date getMorbidityDate() {
        return morbidityDate;
    }

    public void setMorbidityDate(Date morbidityDate) {
        this.morbidityDate = morbidityDate;
    }

    public Date getDiagnoseDate() {
        return diagnoseDate;
    }

    public void setDiagnoseDate(Date diagnoseDate) {
        this.diagnoseDate = diagnoseDate;
    }

    public String getIsConfirm() {
        return isConfirm;
    }

    public void setIsConfirm(String isConfirm) {
        this.isConfirm = isConfirm;
    }

    public String getDiagnosisBasis() {
        return diagnosisBasis;
    }

    public void setDiagnosisBasis(String diagnosisBasis) {
        this.diagnosisBasis = diagnosisBasis;
    }

    public String getIsContagion() {
        return isContagion;
    }

    public void setIsContagion(String isContagion) {
        this.isContagion = isContagion;
    }

    public Date getContagionReportDate() {
        return contagionReportDate;
    }

    public void setContagionReportDate(Date contagionReportDate) {
        this.contagionReportDate = contagionReportDate;
    }

    public String getIsTumour() {
        return isTumour;
    }

    public void setIsTumour(String isTumour) {
        this.isTumour = isTumour;
    }

    public String getTumourPresentation() {
        return tumourPresentation;
    }

    public void setTumourPresentation(String tumourPresentation) {
        this.tumourPresentation = tumourPresentation;
    }

    public String getHandlingExplain() {
        return handlingExplain;
    }

    public void setHandlingExplain(String handlingExplain) {
        this.handlingExplain = handlingExplain;
    }

    public String getTentadiagResult() {
        return tentadiagResult;
    }

    public void setTentadiagResult(String tentadiagResult) {
        this.tentadiagResult = tentadiagResult;
    }

    public String getLapseTo() {
        return lapseTo;
    }

    public void setLapseTo(String lapseTo) {
        this.lapseTo = lapseTo;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getDiagDepartCode() {
        return diagDepartCode;
    }

    public void setDiagDepartCode(String diagDepartCode) {
        this.diagDepartCode = diagDepartCode;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
